package com.smz.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smz.entity.TRelation;
import org.apache.ibatis.annotations.Param;

public interface TRelationDAO extends BaseMapper<TRelation> {

    /**
     * 查询申请公司是否存在合作关系
     */
    TRelation selectRelation(@Param("sid") int sid, @Param("kid") int kid);
    /**
     * 解除合作关系
     */
    int deleteRelation(@Param("sid") int sid,@Param("kid") int kid);
}
